//---------------------------------------------------------------------------

#ifndef frmImportH
#define frmImportH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.ButtonGroup.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Dialogs.hpp>
#include <map>
#include <vector>
//---------------------------------------------------------------------------
class TfrmImport : public TForm
{
__published:	// IDE-managed Components
    TGroupBox *grp2;
    TButton *btnOpenDir;
    TEdit *edtPath;
    TLabel *lblPath;
    TButton *btnImport;
    TButton *btnCancel;
	void __fastcall btnCancelClick(TObject *Sender);
	void __fastcall btnOpenDirClick(TObject *Sender);
	void __fastcall btnImportClick(TObject *Sender);
private:	// User declarations

    void SearchDir(String Dir, TStringList *FileList);
private:
	std::map<String, std::vector<TTabSheet*> > mapStrFunc;
    //TTabSheet* curTabSheet;
    String selectFuncStr;
    int nextClickCount;
public:		// User declarations
	__fastcall TfrmImport(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmImport *frmImport;
//---------------------------------------------------------------------------
#endif
